package com.idp.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.idp.system.entity.SysRoleButtonEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 角色按钮Mapper
 * @author king
 */
@Mapper
public interface SysRoleButtonMapper extends BaseMapper<SysRoleButtonEntity> {

	/**
	 * 通过角色id查询按钮id
	 * @param roleId
	 * @return
	 */
	List<String> findButtonIdsByRoleId(String roleId);

}
